Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FlashAttention #357

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NouamaneTazi
Copy link

@NouamaneTazi NouamaneTazi commented Dec 12, 2022

This PR aims to add an option to use FlashAttention.
Inspired by NVIDIA/Megatron-LM#267

cc @thomasw21

@mayank31398
Copy link
Collaborator

Aah here we go.
Is flash attention merged into the original repo?
I saw Tri Dao had opened a PR

@NouamaneTazi
Copy link
Author

It's not merged yet to Megatron-LM. But I hope it will soon be :)

@wywy136
Copy link

wywy136 commented Oct 20, 2023

@NouamaneTazi Hi. Have you tested the correctness of this implementation of Flash Attention?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants